﻿<phone:PhoneApplicationPage
    x:Class="WhallaToolkit.ShareServices.Brokers.Twitter.TwitterConnect"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
    xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="{StaticResource PhoneForegroundBrush}"
    SupportedOrientations="Portrait" Orientation="Portrait"
    mc:Ignorable="d"
    shell:SystemTray.IsVisible="False" x:ClassModifier="internal">
	<phone:PhoneApplicationPage.Resources>
		<Storyboard x:Name="ClosePageindicator">
			<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="LoadingIndicator">
				<DiscreteObjectKeyFrame KeyTime="0">
					<DiscreteObjectKeyFrame.Value>
						<Visibility>Visible</Visibility>
					</DiscreteObjectKeyFrame.Value>
				</DiscreteObjectKeyFrame>
				<DiscreteObjectKeyFrame KeyTime="0:0:0.9">
					<DiscreteObjectKeyFrame.Value>
						<Visibility>Collapsed</Visibility>
					</DiscreteObjectKeyFrame.Value>
				</DiscreteObjectKeyFrame>
			</ObjectAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="LoadingIndicator">
				<EasingDoubleKeyFrame KeyTime="0" Value="1">
					<EasingDoubleKeyFrame.EasingFunction>
						<QuarticEase EasingMode="EaseIn"/>
					</EasingDoubleKeyFrame.EasingFunction>
				</EasingDoubleKeyFrame>
				<EasingDoubleKeyFrame KeyTime="0:0:0.9" Value="0">
					<EasingDoubleKeyFrame.EasingFunction>
						<QuarticEase EasingMode="EaseIn"/>
					</EasingDoubleKeyFrame.EasingFunction>
				</EasingDoubleKeyFrame>
			</DoubleAnimationUsingKeyFrames>
		</Storyboard>
	</phone:PhoneApplicationPage.Resources>

    <!--LayoutRoot is the root grid where all page content is placed-->
    <Grid x:Name="LayoutRoot" Background="Transparent">
        <phone:WebBrowser x:Name="browserControl" IsScriptEnabled="True" />
        <Grid x:Name="LoadingIndicator" Background="#FF2AA9E0">
        	<StackPanel Margin="0,298,0,244" Orientation="Vertical" VerticalAlignment="Center">
        		<!--<Image HorizontalAlignment="Center" VerticalAlignment="Center" Source="" Width="173" Height="173"/>-->
        		<Viewbox x:Name="twitter_2012__Converted_" HorizontalAlignment="Center" Height="162.536" UseLayoutRounding="False" VerticalAlignment="Top" Width="160" Margin="0,0,0,30">
        			<Canvas x:Name="Layer_1" Height="162.535" Canvas.Left="0" Canvas.Top="-0.535" Width="200">
        				<Path Data="F1M200,19.24C192.642,22.504 184.733,24.709 176.434,25.701 184.904,20.623 191.411,12.582 194.475,3 186.546,7.702 177.765,11.117 168.418,12.957 160.934,4.982 150.27,0 138.468,0 115.808,0 97.435,18.371 97.435,41.031 97.435,44.247 97.798,47.379 98.498,50.382 64.396,48.671 34.161,32.335 13.924,7.51 10.392,13.57 8.368,20.618 8.368,28.138 8.368,42.374 15.612,54.933 26.622,62.292 19.896,62.078 13.569,60.233 8.037,57.159 8.033,57.331 8.033,57.502 8.033,57.676 8.033,77.556 22.177,94.139 40.948,97.91 37.505,98.848 33.88,99.35 30.138,99.35 27.494,99.35 24.923,99.092 22.417,98.614 27.639,114.914 42.792,126.778 60.748,127.108 46.705,138.114 29.013,144.674 9.788,144.674 6.476,144.674 3.21,144.479 0,144.1 18.159,155.742 39.727,162.535 62.899,162.535 138.372,162.535 179.645,100.012 179.645,45.789 179.645,44.01 179.604,42.24 179.525,40.48 187.543,34.695 194.499,27.469 200,19.24" Fill="White" Height="162.535" Canvas.Left="0" Canvas.Top="0" Width="200"/>
        			</Canvas>
        		</Viewbox>
        		<!--<Image HorizontalAlignment="Center" VerticalAlignment="Center" Source="" Width="173" Height="173"/>-->
        		<ProgressBar Height="10" VerticalAlignment="Top" Background="{x:Null}" IsIndeterminate="True" Foreground="White"/>
        	</StackPanel>
        </Grid>
    </Grid>
</phone:PhoneApplicationPage>